export default {
    // 计算总价
    totalPrice(state) {
        return state.info.reduce((prev, current) => {
            if (current.is_show) {
                return prev + current.price_info
            } else {
                return prev + 0
            }

        }, 0)
    }
}